using Codeflows.Results;
using Codeflows.Tracking;

namespace Codeflows.Dispatch.ResultHandlers
{
    class PauseHandler : ResultHandler<PausedResult>
    {        
        protected override void Handle(CodeflowInstance instance, PausedResult result)
        {
            instance.Pause(result.ResumeActionName);
        }
    }
}